﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestSharp;
using Ymatou.ServiceCenter;

namespace WebApiDemo.Contract
{
    [Resource("webapi.ymatou.com", "api/Default/TestDelete", Method.DELETE, ParameterBuildType.Json)]
    public class TestDeleteRequest
    {
        public string Id { get; set; }

        public string Name { get; set; }

        public int Age { get; set; }

        public decimal Price { get; set; }
    }

    public class TestDeleteResponse
    {
        public string Id { get; set; }

        public string Data { get; set; }
    }
}
